<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>新闻管理</title>
</head>
<body> 
    <center>
         @include('new.menu')
        <table width="900" border="1">
            <tr>
                <th>ID</th>
                <th>标题</th>
                <th>吉祥号</th>
                <th>添加时间</th>
                <th>操作</th>
            </tr>
            @foreach ($data as $vo)
            <tr>
                <td>{{$vo->id}}</td>
                <td>{{$vo->title}}</td>
                <td>{{$vo->catid}}</td>
                <td>{{$vo->inputtime}}</td>
                <td>
                    <a href="{{url("new/delete/{$vo->id}")}}">删除</a>
                    <a href="{{url("new/{$vo->id}/edit")}}">编辑</a>
                </td>
            </tr>
            @endforeach

        </table>
    </center>
</body>
</html>